package com.lk.lkappearance.mapper;

import com.lk.lkappearance.model.AlarmLedger;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AlarmLedgerMapper {
    int deleteByPrimaryKey(String alarmId);

    int insert(AlarmLedger record);

    int insertSelective(AlarmLedger record);

    AlarmLedger selectByPrimaryKey(String alarmId);

    int updateByPrimaryKeySelective(AlarmLedger record);

    int updateByPrimaryKey(AlarmLedger record);

    /**
     * 得到列表
     * @param alarmLedger
     * @return
     */
    List<AlarmLedger> getList(AlarmLedger alarmLedger);
}